{{tag>Dapper serveur}}

----

====== Tinyproxy ======

**Tinyproxy** est un proxy web très leger. Il ne crée pas de cache des pages visitées. 

===== Installation =====

Tinyproxy est très simple d'installation puisqu'il est présent dans le dépot universe. Il suffit donc d'[[:tutoriel:comment_installer_un_paquet|installer le paquet]] **tinyproxy**.

===== Configuration =====

Le fichier de configuration [[:tutoriel:comment_modifier_un_fichier|à modifier]] est **/etc/tinyproxy/tinyproxy.conf**.

Pour modifier les restrictions d'accès changer les lignes :

<file>
# The following is the authorization controls. If there are any access
# control keywords then the default action is to DENY. Otherwise, the
# default action is ALLOW.
#
# Also the order of the controls are important. The incoming connections
# are tested against the controls based on order.
#
Allow 127.0.0.1
Allow 192.168.1.0/25
</file>

Pour personnaliser les pages d'erreur :

<code>cd /usr/share/tinyproxy</code>


Tinyproxy s'exécute en dæmon.

Pour l'arrêter, le démarrer et le redémarrer :

<code>
sudo /etc/init.d/tinyproxy stop
sudo /etc/init.d/tinyproxy start
sudo /etc/init.d/tinyproxy restart
</code>

===== Voir aussi =====

  * **''(en)''** [[http://tinyproxy.sourceforge.net/|Site officiel]]

----

//Contributeur principal : [[:utilisateurs:Ad_Vitam]].//